﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/common.css" rel="stylesheet" />
     <!--[if lte IE 6]>
  
    <link href="css/bootstrap-ie6.min.css" rel="stylesheet" />
    <link href="css/ie.css" rel="stylesheet" />
      <![endif]-->
</head>
<body>
    <div class="container">
        <div class="navbar">
        <div class="navbar-inner">
            <a href="#" class="brand">首页</a>
        <ul class="nav pull-right">
            <li class="divider-vertical"></li>
 <li><a href="#">首页</a></li>
            <li class="divider-vertical"></li>
  <li><a href="#">Link</a></li>
            <li class="divider-vertical"></li>
  <li><a href="#">Link</a></li>
            <li class="divider-vertical"></li>
</ul>
            </div>
    </div>
         <div class="row-fluid">
             <div class="span3"> 
  <ul class="nav nav-list bs-docs-sidenav affix" id="accordion3">
        <li><a id="sidebar-1" href="#">1</a></li>
        <li class="accordion-group">
            <a id="sidebar-2" data-toggle="collapse" data-parent="#accordion3" href="#collapseThree1">2</a>
            <ul id="collapseThree1" class="nav nav-list  collapse">
                <li><a  id="sidebar-3" href="#">1</a></li>
                <li>
                    <a  id="sidebar-4" href="#">2</a>

                </li>
                <li><a   id="sidebar-5"href="#">3</a></li>
                <li><a  id="sidebar-6" href="#">4</a></li>
                <li><a  id="sidebar-7" href="#">5</a></li>
            </ul>
        </li>
        <li><a href="#">3</a></li>
        <li  class="accordion-group"><a data-toggle="collapse"  data-parent="#accordion3" href="#Ul1" >4</a>
            <ul id="Ul1" class="nav nav-list collapse">
                <li><a href="#">1</a></li>
                <li>
                    <a href="#">2</a>

                </li>
                <li ><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
            </ul>
        </li>
        <li><a href="#">5</a></li>
    </ul>
                 </div>
             <div class="span9">
                 <ul class="breadcrumb">
  <li><a href="#">首页</a> <span class="divider">/</span></li>
  <li><a href="#">Library</a> <span class="divider">/</span></li>
  <li class="active">Data</li>
</ul>
                 <form class="form-horizontal">
  <fieldset>
    <legend>完善资料</legend>
    <div class="control-group">
      <label class="control-label" for="input01">您的尊姓大名</label>
      <div class="controls">
        <input type="text" class="input-xlarge" id="input01">
        <p class="help-block">字母，数字，汉字皆可</p>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label" for="input01">您的twitter网址</label>
      <div class="controls">
        <input type="text" class="input-xlarge" id="Text1">
        <p class="help-block">请输入您的twitter网址，以便我们收录</p>
      </div>
    </div>
      <div class="control-group">
            <label class="control-label" for="focusedInput">已获得焦点的输入框</label>
            <div class="controls">
              <input class="input-xlarge focused" id="focusedInput" type="text" value="已获得焦点">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label">不可编辑的输入框</label>
            <div class="controls">
              <span class="input-xlarge uneditable-input">不可编辑，只读</span>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="disabledInput">被禁用的输入框</label>
            <div class="controls">
              <input class="input-xlarge disabled" id="disabledInput" type="text" placeholder="输入框被禁用" disabled>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="optionsCheckbox2">被禁用的复选框</label>
            <div class="controls">
              <label class="checkbox">
                <input type="checkbox" id="optionsCheckbox2" value="option1" disabled>
                被禁用
              </label>
            </div>
          </div>
          <div class="control-group warning">
            <label class="control-label" for="inputWarning">Warning状态的输入框</label>
            <div class="controls">
              <input type="text" id="inputWarning">
              <span class="help-inline">警告信息</span>
            </div>
          </div>
          <div class="control-group error">
            <label class="control-label" for="inputError">Error状态的输入框</label>
            <div class="controls">
              <input type="text" id="inputError">
              <span class="help-inline">错误信息</span>
            </div>
          </div>
          <div class="control-group success">
            <label class="control-label" for="inputSuccess">Success状态的输入框</label>
            <div class="controls">
              <input type="text" id="inputSuccess">
              <span class="help-inline">耶！</span>
            </div>
          </div>
          <div class="control-group success">
            <label class="control-label" for="selectError">Success状态的下拉框</label>
            <div class="controls">
              <select id="selectError">
                <option>1</option>
                <option>2</option>
                <option>3</option>
                <option>4</option>
                <option>5</option>
              </select>
              <span class="help-inline">耶！</span>
            </div>
          </div>

       <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存更改</button>
            <button class="btn">取消</button>
          </div>

  </fieldset>
</form>

                 <table class="table table-bordered">
  <thead>
    <tr>
      <th>标题</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>啊空间的酸辣粉</td>
      <td>
          <a href="#">修改</a>
          <a href="#">删除</a>

      </td>
    </tr>
  </tbody>
</table>
                 <div class="pagination pagination-right">
  <ul>
    <li><a href="#">前一页</a></li>
    <li class="active">
      <a href="#">1</a>
    </li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">后一页</a></li>
  </ul>
</div>
             </div>
             
</div>

    </div>
   

    <script type="text/javascript" src="../../Scripts/jquery-1.8.3.min.js"></script>

    <script type="text/javascript">
        sidebar("3");
        //要显示的a的id号，不需要加sidebar-
        function sidebar(tabhref) {
            tabhref = "sidebar-" + tabhref;
            //当前选中项
            var tab = $("#" + tabhref);
            //所有子ul
            var childuls = $("#accordion3 li ul");
            //所有存在子ul的同级a标记
            var hrchilds = $("#accordion3>li:has(ul)>a");
            //选中项添加样式
            tab.parent().addClass("active");
            if (tab.parents("li").length > 1) {
                tab.parent().parent().addClass("in").parent().addClass("active");
            }
            //===============存在子标签
            $("<i class=\"icon-chevron-right\"></i>").appendTo(hrchilds);//添加箭头

        }
    </script>
    <script src="js/bootstrap.min.js"></script>
   <!-- bsie js 补丁只在IE6中才执行 -->  
    <!--[if lte IE 6]>
  
    <script src="js/bootstrap-ie.js"></script>
  <![endif]-->
   
</body>
</html>
